//
//  JPLoginAndRegistBaseVC.m
//  登陆注册
//
//  Created by 吴俊杰 on 2016/11/14.
//  Copyright © 2016年 吴俊杰. All rights reserved.
//

#import "JPLoginAndRegistBaseVC.h"

@interface JPLoginAndRegistBaseVC ()

@property (weak,nonatomic)UIImageView *iconVIew;

@end

@implementation JPLoginAndRegistBaseVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setupUI];
}

- (void)setupUI {
    
    //背景图片
    UIImageView *backImageView = [[UIImageView alloc] init];
    [self.view insertSubview:backImageView atIndex:0];
    [backImageView setImage:[UIImage imageNamed:@"pic_hd"]];
    
    [backImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view);
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
